package initialize

import (
	"goblog/global"
	"goblog/model"
)

func DBTable(){

		db := global.GLOBAL_DB
		db.AutoMigrate(
			model.SysUser{},
			model.SysAuthority{},
			model.SysApi{},
			model.SysBaseMenu{},
			model.JwtBlacklist{},
			model.SysWorkflow{},
			model.SysWorkflowStepInfo{},
			model.ExaFileUploadAndDownload{},

		)
	global.GLOBAL_LOGGER.Debug("register table success")
}
